<!--
//****************************************************************/
//Creation History
// Company: GZ office
// NAME:    SysParam.jsp
// TITLE:   System Paramter 
// BY:      Oscar Bai
// DATE:    2003-03-04
//******************************************************************/
//Modification History
//******************************************************************/
//******************************************************************/
-->

<%@ include file="../header.jsp" %>
<%@ page import="admin.system.sysparam.*" %>

<script language=javascript>
 function formValidation() {
    var d1 = fm.sys_param_name;
    var d2 = fm.sys_param_value;
    var d3 = fm.sys_param_des;

    if (isNull(d1,"System Parameter Name")||isNull(d2,"System Parameter Value")||isNull(d3,"System Parameter Description"))  {
       return false;
    }

    return true;
 }
<%
    SysParamBean sysParam = (SysParamBean)request.getAttribute("sysParams");
    if (sysParam==null){
       sysParam = new SysParam();
    }
%>
</script>

<body>

<h2>System Parameter Maintenance</h2>

<form id=fm method=post action=<%=contextPath%>/servlet/admin.system.sysparam.SysParamServlet>
<input type=hidden name=formAction value=<%=formAction%> >
<table cols=2 border=0 >
  <tr>
    <td>System Parameter Name</td>
    <td><input type=text name=sys_param_name value="<%=sysParam.getSys_Param_name()%>" maxlength=20 <%=readOnly%> ></td>
  </tr>

  <tr>
    <td>System Parameter Value</td>
    <td><input type=text name=sys_param_value value="<%=sysParam.getSys_Param_value()%>" maxlength=50></td>
  </tr>

  <tr>
    <td>System Parameter Description</td>
    <td><input type=text name=sys_param_des value="<%=sysParam.getSys_Param_des()%>" maxlength=100></td>
  </tr>
</table>

<hr>

<p>
  <INPUT type=button value=Save onclick="save()" >
  <INPUT type=button value=Delete  onclick="deleteRecord()"  >
  <INPUT type=reset  value=Cancel >
</p>
</form>
<%@ include file="../footer.jsp" %>
</body>
</html>

